<template>
	<view>
		<view class="my-top">

			<view class="vip-explain">
				<text>累计佣金：{{affiliateUser.totalCommission}}元</text>
			</view>
			<view class="vip-explain">
				<text>可以提现：{{affiliateUser.availableCommission}}元</text>
			</view>
			<view class="vip-explain">
				<text>已提现：{{affiliateUser.withdrawnCommission}}元</text>
			</view>

		</view>

	</view>
</template>

<script>
	import mapping from "../../lib/java110/java110Mapping";
	export default {
		data() {
			return {
				affiliateUser: {
					totalCommission: 0,
					availableCommission: 0,
					withdrawnCommission: 0,
				}
			}
		},
		onLoad() {
			this.affiliateUser = wx.getStorageSync(mapping.AFFILIATE_USER);
		},
		methods: {}
	}
</script>


<style lang="scss">
	

	.my-top {
		margin: 20upx;
		background-color: #fff;
		border-radius: 10upx;
		padding:20upx;
		.vip-explain{
			margin-bottom: 10upx;
			color: #666;
		}

	}
</style>